home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
TECHNICA
/
COMPUTER
/
H254.ZIP
/
IRITSM3S.ZIP
/
MISC_LIB
/
CONFIG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-20
|
814b
|
26 lines
/*****************************************************************************
* General definitions for the configuration file reading routines *
* *
* Written by: Gershon Elber Ver 0.2, Jan. 1989 *
*****************************************************************************/
#ifndef CONFIG_H /* Defined Only once. */
#define CONFIG_H
#define SU_BOOLEAN_TYPE 1
#define SU_INTEGER_TYPE 2
#define SU_REAL_TYPE 3
#define SU_STRING_TYPE 4
typedef struct ConfigStruct {
char *VarName;
VoidPtr VarData;
int VarType;
} ConfigStruct;
/* And finally the prototype of the configuration routines: */
void Config(char *PrgmName, ConfigStruct *SetUp, int NumVar);
void ConfigPrint(ConfigStruct *SetUp, int NumVar);
#endif /* CONFIG_H */